<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{xjllfxForm.bundleName}"/>
    <head>
        <title>#{text['xjllfxDetail.title']}</title>
        <meta name="heading" content="#{text['xjllfxDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="xjllfxForm">

<h:form id="xjllfxForm" onsubmit="return validateXjllfxForm(this)">
<h:inputHidden value="#{xjllfxForm.xjllfx.id}" id="id"/>
<h:inputHidden value="#{xjllfxForm.xjllfx.version}" id="version"/>
 <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{xjllfxForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty xjllfxForm.xjllfx.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{xjllfxForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Xjllfx')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
<h:panelGrid columns="3">
    <h:outputLabel styleClass="desc" for="jbf" value="#{text['xjllfx.jbf']}"/>
    <t:message for="jbf" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jbf" value="#{xjllfxForm.xjllfx.jbf}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jbl" value="#{text['xjllfx.jbl']}"/>
    <t:message for="jbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jbl" value="#{xjllfxForm.xjllfx.jbl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jbz" value="#{text['xjllfx.jbz']}"/>
    <t:message for="jbz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="jbz" value="#{xjllfxForm.xjllfx.jbz}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="lbf" value="#{text['xjllfx.lbf']}"/>
    <t:message for="lbf" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="lbf" value="#{xjllfxForm.xjllfx.lbf}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="lbl" value="#{text['xjllfx.lbl']}"/>
    <t:message for="lbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="lbl" value="#{xjllfxForm.xjllfx.lbl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="lbz" value="#{text['xjllfx.lbz']}"/>
    <t:message for="lbz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="lbz" value="#{xjllfxForm.xjllfx.lbz}" required="false" maxlength="255">
    </h:inputText>
   
    <!-- 
     <h:outputLabel styleClass="desc" for="ny" value="#{text['xjllfx.ny']}"/>
    <t:message for="ny" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="ny" value="#{xjllfxForm.xjllfx.ny}" required="true" maxlength="255">
        <v:commonsValidator type="required" arg="#{text['xjllfx.ny']}"/>
    </h:inputText>
    <h:outputLabel styleClass="desc" for="id" value="#{text['xjllfx.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{xjllfxForm.xjllfx.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['xjllfx.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['xjllfx.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{xjllfxForm.xjllfx.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['xjllfx.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{xjllfxForm.xjllfx.optdate}" required="false" maxlength="23">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="username" value="#{text['xjllfx.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{xjllfxForm.xjllfx.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="xh" value="#{text['xjllfx.xh']}"/>
    <t:message for="xh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xh" value="#{xjllfxForm.xjllfx.xh}" required="false" maxlength="255">
    </h:inputText>
     -->
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateXjllfxForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('xjllfxForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
